/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Bean;

import Objects.Album;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author ntfsbk
 */
@Remote
public interface uploadBeanRemote {

    public void reset();

    public int getNextImageId();

    public List<Album> getListAlbum(int userId);

    public int insertNewAlbum(String albumName, int userId, String createdDate);

    public void deleteAlbum(int id) throws Exception;

    public String insertNewImage(String folder, int userId, String suf) throws Exception;

    public void deleteImage(String imageLink) throws Exception;

    public int getImageId(String fileName) throws Exception;

    public void updateImageTag(String pictureTag, int imageId) throws Exception;

    public void updateImageName(String pictureName, int imageId) throws Exception;

    public void updateImageToExistAlbum(int albumId, int imageId) throws Exception;

    public void updateImageToNewAlbum(String albumName, int imageId, int userId) throws Exception;
    
}
